export default {
    label: '页面设置', icon: '', type: 'background', setting: [
        // {
        //     label: '标题', name: 'title', form: [
        //         {label: '页面名称', field: 'title', value: '', type: 'input'},
        //     ]
        // },
        {
            label: '背景设置', name: 'background', form: [
                {label: '顶部', field: 'top', value: '', type: 'input-number', min: -10000},
                {label: '底部', field: 'bottom', value: '', type: 'input-number', min: -10000},
                {label: '左边', field: 'left', value: '', type: 'input-number', min: -10000},
                {label: '右边', field: 'right', value: '', type: 'input-number', min: -10000},
                {label: '宽度', field: 'width', value: 0, type: 'input-number'},
                {label: '高度', field: 'height', value: 0, type: 'input-number'},
                {label: '背景色', field: 'background', value: '', type: 'input-color'},
                {label: '渐变色', field: 'background2', value: '', type: 'input-color'},
                {
                    label: '渐变方向', field: 'direction', value: 'to bottom', type: 'select', options: [
                        {label: '从左向右渐变', value: 'to right'},
                        {label: '从右向左渐变', value: 'to left'},
                        {label: '从上到下渐变', value: 'to bottom'},
                        {label: '从下到上渐变', value: 'to top'},
                        {label: '从左上角到右下角', value: 'to bottom right'},
                        {label: '从右下角到左上角', value: 'to top left'},
                    ]
                },
                {label: '左下角半径', field: 'borderBottomLeftRadius', value: 0, type: 'input-number'},
                {label: '右下角半径', field: 'borderBottomRightRadius', value: 0, type: 'input-number'},
            ]
        }
    ],
    list: [],
    cols: [],
    item: {},
    config: {},
    data: []
}